﻿using Basic.WxApiRemoteModel;
using Basic.WxApiRemoteModel.WxFilter.Model;
using SqlSugar;

namespace Basic.WxModel.DB
{
    [SugarTable("WxMsgSubscribeFilter")]
    public class DBWxMsgSubscribeFilter
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id
        {
            get;
            set;
        }

        public long SubscribeId
        {
            get;
            set;
        }
        public string WxAppId
        {
            get;
            set;
        }
        public string AppId
        {
            get;
            set;
        }

        public WxMsgFilterType FilterType
        {
            get;
            set;
        }

        public string MsgType
        {
            get;
            set;
        }

        public WxForwardType ForwardType
        {
            get;
            set;
        }
        public string Direct
        {
            get;
            set;
        }
        [SugarColumn(IsJson = true)]
        public ReplySet Reply
        {
            get;
            set;
        }

        public long LastUpdateTime
        {
            get;
            set;
        }
        public DateTime AddTime
        {
            get;
            set;
        }
    }
}
